var database;

module.exports = {
    init: async (options) => {
        database = await require('./entities')(options);
    },
    get db() {
        return database;
    }
}